home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d21
/
dvglue10.arc
/
TVPGOTO.C
< prev
next >
Wrap
C/C++ Source or Header
|
1988-08-13
|
1KB
|
33 lines
/*================================================*/
/* TVPGOTO.C */
/* */
/* (c) Copyright 1988 Ralf Brown */
/* All Rights Reserved */
/* May be freely copied for noncommercial use as */
/* long as this copyright notice is kept intact */
/* and any changes are indicated in the comment */
/* blocks for the functions */
/*================================================*/
#include "tvapi.h"
/*================================================*/
/* TVptr_goto move the pointer to given pos */
/* Ralf Brown 5/10/88 */
/*================================================*/
void pascal TVptr_goto(OBJECT ptr,int row,int col)
{
PARMLIST2 p ;
if (ptr)
{
p.num_args = 2 ;
p.arg[0] = row ; /* y coordinate */
p.arg[1] = col ; /* x coordinate */
TVsendmsg(WRITE_MSG, TOS, ptr, (PARMLIST *)&p) ;
}
}
/* End of TVPGOTO.C */